package com.hdw.cms.dwr;

import java.util.List;

import javax.servlet.http.HttpSession;

import com.hdw.cms.model.Product;

public interface DwrService {
	/**
	 * 添加GroupChannel对象
	 * @param group
	 * @param channel
	 */
	public void addGroupChannel(int gid,int cid);
	public void updatePic(Integer proTypeId, String attName, String picMessage, String proPar,int id);
	public void removeSession(HttpSession session);
	public void updateVideo(Integer proTypeId, String attName, String picMessage, int id);
	public void delUnUseFiles(String fileName);
	public void delUnUseIndexFiles(String fileName);
	/**
	 * 删除用户栏目
	 * @param gid
	 * @param cid
	 */
	public void deleteGroupChannel(int gid,int cid);
	
	
	//删除附件
	public void deleteAttach(int id);
	
	//更新首页图片的位置
    public void updatePicPos(int id, int oldPos, int newPos);
	
	public void updateLinkPos(int id,int oldPos,int newPos);
	
	public void updateProPos(int id, int oldPos, int newPos);

	public void updateVdoPos(int id, int oldPos, int newPos);
	
	public void updatePro(String proName,String proMessage,String proPar,int id);
	
	public void updateIndexImg(Integer id,Integer isIndex);
	
	
}
